.application-stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e2e8f0;
}

.stats-header h1 {
  color: #1e293b;
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.stats-actions {
  display: flex;
  gap: 12px;
}

.export-btn, .refresh-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.export-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.export-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.refresh-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
}

.refresh-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

/* 统计卡片 */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-label {
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
}

.stat-card.mechanical .stat-number { color: #ef4444; }
.stat-card.electrical .stat-number { color: #f59e0b; }
.stat-card.programming .stat-number { color: #10b981; }
.stat-card.control .stat-number { color: #3b82f6; }
.stat-card.other .stat-number { color: #8b5cf6; }

/* 筛选器 */
.stats-filters {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.search-input, .filter-select {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.search-input:focus, .filter-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-input {
  flex: 1;
  min-width: 250px;
}

.filter-select {
  min-width: 150px;
}

/* 申请列表 */
.applications-list {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.no-data {
  padding: 60px 20px;
  text-align: center;
  color: #64748b;
  font-size: 16px;
}

.applications-table {
  width: 100%;
  border-collapse: collapse;
}

.applications-table th,
.applications-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.applications-table th {
  background: #f8fafc;
  font-weight: 600;
  color: #374151;
  font-size: 14px;
}

.applications-table tr:hover {
  background: #f9fafb;
}

.delete-btn {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.delete-btn:hover {
  background: #fee2e2;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .application-stats-container {
    padding: 10px;
  }
  
  .stats-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .stats-header h1 {
    font-size: 24px;
  }
  
  .stats-cards {
    grid-template-columns: 1fr;
  }
  
  .stats-filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-input, .filter-select {
    min-width: unset;
  }
  
  .applications-table {
    font-size: 14px;
  }
  
  .applications-table th,
  .applications-table td {
    padding: 12px 8px;
  }
  
  .applications-table th:nth-child(n+5),
  .applications-table td:nth-child(n+5) {
    display: none;
  }
}

.stats-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}